//
//  ViewController.m
//  享动
//
//  Created by 沈浩hh on 16/4/5.
//  Copyright © 2016年 HHUI. All rights reserved.
//

#import "ViewController.h"
#import "MessageView.h"



@interface ViewController ()



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"享动乐";

    MessageView *messageView = [[MessageView alloc]initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.height, [UIScreen mainScreen].bounds.size.width) URL:nil];

    messageView.rootVc = self;
    self.automaticallyAdjustsScrollViewInsets = NO;

    
    
    [self.view addSubview:messageView];
   
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
